package com.bestcem.xm.user.mq.message.user;


import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.io.Serializable;


/**
 * 统计用户数量
 *
 * @author zhijian.lin <zhijian.lin@idiaoyan.com>
 * @date 2022/3/9 18:30
 * @version v1.0
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class QuotaConsumptionMessage implements Serializable {

    /**
     * 租户id
     */
    @JsonProperty("org_id")
    @JSONField(name = "org_id")
    private String orgId;

    /**
     * 操作数量
     */
    private Integer amount;

    /**
     * 操作类型
     */
    @JsonProperty("ttype")
    @JSONField(name = "ttype")
    private String type;
}
